<!-- Begin issues/set_new.tpl -->
<form method="post" action="?module=isets&action=new&gid={$smarty.get.gid}">

{opentable}
{titlebar colspan=2 title=$lg->issue_set}

<td class="sectiontableentry2" width="30%" align="right" valign="middle"><span class="required">*</span> {$lg->reason}</td>
<td class="sectiontableentry1" width="70%">
<select name="reason" style="width: 25%;">
<option value="">(Select.)</option>
{if is_array($set_reasons)}
{foreach from=$set_reasons key=sid item=reason}
<option value="{$sid}">{$reason}</option>
{/foreach}
{/if}
</select>
</td>
</tr>


<tr>
<td class="sectiontableentry2" width="30%" align="right" valign="middle"><span class="required">*</span> {$lg->comment}</td>
<td class="sectiontableentry1" width="70%"><textarea cols="40" rows="3" name="comment">{$smarty.post.comment|stripslashes}</textarea></td>
</tr>

<tr>
<td class="sectiontableentry2" width="30%" align="right" valign="middle">{$lg->private}</td>
<td class="sectiontableentry1" width="70%"><input type="checkbox" name="private" /></td>
</tr>


</table>
<div style="text-align: left; margin: 4px;"><span class="required">*</span> {$lg->required_fields}</div>

{opentable}
{titlebar colspan="6" title=$lg->unset_issues}

<tr class="sectiontableheader" align="center">
<td width="5%">Sel</td>
<td width="5%">{$lg->ID}</td>
<td align="left">{$lg->object}</td>
<td width="5%">{$lg->type}</td>
<td width="10%">{$lg->product}</td>
<td width="5%">{$lg->status}</td>
</tr>

{if $num_rows > 0}
{foreach from=$rows key=issueid item=issue}

<tr class="{sevrow sev=$issue.severity}" align="center">
<td width="5%"><input type="checkbox" name="sel{$issueid}" /></td>
<td width="5%">{$issueid}</td>
<td align="left">{$issue.summary|stripslashes}</td>
<td width="5%">{category id=$issue.category}</td>
<td width="15%">{product id=$issue.product}</td>
<td width="5%">{status id=$issue.status}</td>
</tr>
{/foreach}

{else}
<tr class="data"><td colspan="6">{$lg->no_issue}</td></tr>
{/if}


</table>
<tr class="titlebar"><td colspan="2"><input type="submit" name="new" class="button" value={$lg->validate} /></td></tr>
</table>

</form>

<!-- End issues/set_new.tpl -->